package com.ny.dao;

import com.ny.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDao {
    List<Product> findAllProduct() throws SQLException;
    int addProduct(Product product) throws SQLException;
    Product updateProduct(Product product) throws SQLException;
    Product deleteProduct(String product_name) throws SQLException;
}
